package com.lnking.lnkingplace.model.request.record.place;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("场所修改模型")
public class RecordPlaceUpdateRequest {

    @ApiModelProperty(value = "主键", required = true)
    @NotNull(message = "[id]不能为空")
    @NotBlank(message = "[id]不能为空")
    private String id;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "数据信息(json)")
    private String info;
}
